package com.yunxi.sto.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.sto.pojo.StoFrozenHisVO;

import java.util.ArrayList;
import java.util.List;

public class StoFrozenHisDubboServiceMock implements StoFrozenHisDubboService {
    @Override
    public StoFrozenHisVO getById(String id) throws Exception {
        StoFrozenHisVO vo = new StoFrozenHisVO();
        vo.setBusinessKey("暂无数据");
        return null;
    }

    @Override
    public void saveOrUpdate(StoFrozenHisVO stoFrozenHisVO) throws Exception {

    }

    @Override
    public void removeById(String id) {

    }

    @Override
    public PageInfo<StoFrozenHisVO> findPageByVO(StoFrozenHisVO stoFrozenHisVO, Integer pageNum, Integer pageSize) throws Exception {
        PageInfo<StoFrozenHisVO> page =  new   PageInfo<>();
        List  list  =  new ArrayList();
        StoFrozenHisVO vo =  new StoFrozenHisVO();
        vo.setBusinessKey("暂无数据");
        list.add(vo);
        page.setList(list);
        return page;

    }

    @Override
    public void removeByListVo(List<StoFrozenHisVO> stoFrozenHisVOList) throws Exception {

    }

    @Override
    public List listByVo(StoFrozenHisVO stoFrozenHisVO) {
        List  list  =  new ArrayList();
        StoFrozenHisVO vo =  new StoFrozenHisVO();
        vo.setBusinessKey("暂无数据");
        list.add(vo);
        return list;
    }
}
